ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 13 - No. 34)

In the alarm clock example, which construct is used to ensure the alarm will only go off at the pre-determined time?
FOR...NEXT loop
REPEAT...UNTIL loop
WHILE...DO...ENDWHILE loop and IF statement
CASE OF structure

Giải thích

The combination of a WHILE loop and an IF statement allows the program to check the time and trigger the alarm when necessary.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc